package com.neutech.service.Impl;

import com.neutech.dao.Impl.UserDAOImpl;
import com.neutech.dao.UserDAO;
import com.neutech.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;

import java.sql.SQLOutput;
import java.util.List;
import java.util.Map;

public class UserServiceImpl implements UserService {
    //自动注解
@Autowired
    private UserDAO userDAO;
    @Override
    public void listALL() {
        System.out.println("service list all");
        userDAO.listAll();
    }

    public UserDAO getUserDAO() {
        return userDAO;
    }

    public void setUserDAO(UserDAO userDAO) {
        this.userDAO = userDAO;
    }
}